#import <Foundation/Foundation.h>

@class FWApplication;
@class FWPreferences;


@protocol FWApplicationDelegate <NSObject>

- (BOOL)application:(FWApplication*)application shouldUpdateForDate:(NSDate*)date;
- (BOOL)updateApplication:(FWApplication*)application;


@optional

- (void)application:(FWApplication*)application updateApplicationPrefs:(NSDictionary*)prefs pluginPrefs:(FWPreferences*)pluginPrefs;
- (void)application:(FWApplication*)application repeatingEventWithPluginPrefs:(FWPreferences*)prefs;

@end
